package com.ym.medical.domain.entity;

import com.ym.common.constant.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;

/**
 * 部位表对象 position_list
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel("部位表-实体")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "position_list")
public class PositionListEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 部位编号
	 */
	@ApiModelProperty("部位编号")
	private String plNum;

	/**
	 * 部位名称
	 */
	@ApiModelProperty("部位名称")
	private String plName;

	/**
	 * 父类Id
	 */
	@ApiModelProperty("父类Id")
	private Long plParent;

}
